<template>
  <div>
    <!--轮播图-->
    <slideShow />
    <!--用户互动区域-->
    <div class="topDiv">
      <router-view />
      <!--用户创作中心组件-->
      <div style="width: 30%;float: right">
        <writingCenter />
        <advertising />
      </div>
    </div>
  </div>
</template>

<script>
import slideShow from "./slideShow";
import writingCenter from "./writingCenter";
import advertising from "./advertising";

export default {
  /*使用组件*/
  components:{ slideShow ,writingCenter,advertising },
}
</script>

<style scoped>
a{
  text-decoration: none;
}
.topDiv{
  margin: 0 auto;
  max-width: 980px;
}
</style>